from django.contrib import admin

# Register your models here.


from .models import Team, Contract,ContractDetail,Payment

class ContractDetailInline(admin.TabularInline):
    model = ContractDetail
    extra = 4


class ContractAdmin(admin.ModelAdmin):
    inlines = [ContractDetailInline]

admin.site.register(Contract, ContractAdmin)
admin.site.register(Team)

#admin.site.site_header = 'Lets crack!'
